package com.heima.admin.service.impl;


import com.heima.admin.service.INewsAuthService;
import com.heima.api.IWemediaClient;
import com.heima.model.admin.dtos.NewsAutoDto;
import com.heima.model.common.dtos.ResponseResult;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Xanny
 * @Data 2024/8/22 8:43
 * @Version 1.0
 */
@Service
public class NewsAuthServiceImpl implements INewsAuthService {
    @Autowired
    private IWemediaClient wemediaClient;

    @Override
    public ResponseResult getList(NewsAutoDto newsAutoDto) {
        return wemediaClient.getListNews(newsAutoDto);
    }
}
